package com.gongJiao.mapper;

import com.gongJiao.entity.RouteSite;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 * @author ${author}
 * @since 2021-12-25
 */
@Mapper
public interface RouteSiteMapper extends BaseMapper<RouteSite> {

    /**
     * 根据路线id查询关联站点id字符串
     * @param id
     * @return
     */
    String getSitesByRoute(Long id);


    /**
     * 根据路线id删除信息
     * @param id
     */
    void deleteByRouteId(Long id);
}
